package com.poly.flowable.pojo.model;
import com.poly.flowable.enums.NodeType;
import lombok.Data;

import java.io.Serializable;

@Data
public class FlowPathModel implements Serializable {
    private String id;
    private String name;
    private NodeType nodeType;
    private String sourceRef;
    private String targetRef;

    public FlowPathModel() {
    }

    public FlowPathModel(String id, String name, NodeType nodeType, String sourceRef, String targetRef) {
        this.id = id;
        this.name = name;
        this.nodeType = nodeType;
        this.sourceRef = sourceRef;
        this.targetRef = targetRef;
    }
}
